package lgs.hm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import lgs.hm.mapper.BooksMapper;
import lgs.hm.model.Books;
import lgs.hm.service.BooksService;

@Service
public class BooksServiceImpl implements BooksService {
	@Resource
	private BooksMapper booksMapper;

	@Override
	public List<Books> select() {
		return booksMapper.select();
	}

	@Override
	public boolean update(Books books) {
		return booksMapper.update(books);
	}

	@Override
	public boolean add(Books books) {
		return booksMapper.add(books);
	}

	@Override
	public boolean delete(Books books) {
		return booksMapper.delete(books);
	}

}
